package com.ruoyi.project.wenyanwen.sentence.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 诗词名句对象 sentence
 * 
 * @author shixiangwen
 * @date 2020-08-05
 */
public class Sentence extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 原文ID */
    @Excel(name = "原文ID")
    private Long articleId;

    /** null */
    @Excel(name = "null")
    private String sourceArticleId;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 主题 */
    @Excel(name = "主题")
    private String topic;

    /** 分类 */
    @Excel(name = "分类")
    private String fenlei;

    /** 排序 */
    @Excel(name = "排序")
    private Long seq;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 原文 */
    @Excel(name = "原文")
    private String article;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setSourceArticleId(String sourceArticleId) 
    {
        this.sourceArticleId = sourceArticleId;
    }

    public String getSourceArticleId() 
    {
        return sourceArticleId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setTopic(String topic) 
    {
        this.topic = topic;
    }

    public String getTopic() 
    {
        return topic;
    }
    public void setFenlei(String fenlei) 
    {
        this.fenlei = fenlei;
    }

    public String getFenlei() 
    {
        return fenlei;
    }
    public void setSeq(Long seq) 
    {
        this.seq = seq;
    }

    public Long getSeq() 
    {
        return seq;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setArticle(String article) 
    {
        this.article = article;
    }

    public String getArticle() 
    {
        return article;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleId", getArticleId())
            .append("sourceArticleId", getSourceArticleId())
            .append("content", getContent())
            .append("topic", getTopic())
            .append("fenlei", getFenlei())
            .append("seq", getSeq())
            .append("author", getAuthor())
            .append("article", getArticle())
            .toString();
    }
}
